//part1:C03:ex3.32.2.cpp -- copy to another array, used of vector.
#include <iostream>
#include <vector>
int main(void)
{
    using namespace std;
    const int sz = 10;
    vector<int> vInt, vInt2;
    for (int i = 0; i < sz; ++i)
    {
        vInt.push_back(i);    
    }

    for (int i = 0; i < sz; ++i)
    {
        vInt2.push_back(vInt[i]);    
    }

    for (auto val : vInt2)
    {
        cout << val << " ";
    }
    cout << endl;
    return 0;
}
